package com.dailyblue.java.standard.design.责任链模式;

public class GroupLeaderHandler extends Handler {
    @Override
    public void handle(int day) {
        System.out.println("小组长审批通过！");
        if (day > 1) {
            super.getNextHandler().handle(day);
        }
    }
}
